package com.feilong.cn.mybatis.autoV2.mappers;

import org.apache.ibatis.annotations.Select;

/**
 * Created by yangxulong on 2018/4/2.
 */
public interface IUserMapper {

    @Select("select *from User where id=?")
    UserBean selectByPrimaryKey(Integer userId);

    @Select("select *from User where name=?")
    UserBean selectByName(String StrName);
}